package com.xxx.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum CommonStatus {
    DISABLE(0,"停售"),
    ENABLE(1,"起售"),
    ;

    @EnumValue
    private final Integer i;

    @JsonValue
    private final String s;


    CommonStatus(Integer i, String s) {
        this.i = i;
        this.s = s;
    }
}
